﻿using System;
using System.Collections.Generic;
using OpenTK.Graphics;
using OpenTK;

namespace AirHockey
{
    public class Light
    {
        #region Members
        private Color4 lightAmbient;
        private Color4 lightDiffuse;
        private Color4 lightSpecular;
        private Vector3 lightPosition;
        #endregion

        #region Properties
        public Color4 LightAmbient
        {
            get { return lightAmbient; }
            set { lightAmbient = value; }
        }

        public Color4 LightDiffuse
        {
            get { return lightDiffuse; }
            set { lightDiffuse = value; }
        }

        public Color4 LightSpecular
        {
            get { return lightSpecular; }
            set { lightSpecular = value; }
        }

        public Vector3 LightPosition
        {
            get { return lightPosition; }
            set { lightPosition = value; }
        }
        #endregion

        #region Constructor
        public Light()
        {
            lightAmbient = Color4.White;
            lightDiffuse = Color4.White;
            lightSpecular = Color4.White;
            lightPosition = Vector3.Zero;
        }

        public Light(Color4 lightAmbient, Color4 lightDiffuse, Color4 lightSpecular, Vector3 lightPosition)
        {
            this.lightAmbient = lightAmbient;
            this.lightDiffuse = lightDiffuse;
            this.lightSpecular = lightSpecular;
            this.lightPosition = lightPosition;
        }
        #endregion
    }
}
